.TH std::is_eq,std::is_neq,std::is_lt,std::is_gt,std::is_lteq,std::is_gteq 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::is_eq,std::is_neq,std::is_lt,std::is_gt,std::is_lteq,std::is_gteq \- std::is_eq,std::is_neq,std::is_lt,std::is_gt,std::is_lteq,std::is_gteq

.SH Synopsis
   Defined in header <compare>
   constexpr bool is_eq( std::partial_ordering cmp ) noexcept;   \fB(1)\fP \fI(since C++20)\fP
   constexpr bool is_neq( std::partial_ordering cmp ) noexcept;  \fB(2)\fP \fI(since C++20)\fP
   constexpr bool is_lt( std::partial_ordering cmp ) noexcept;   \fB(3)\fP \fI(since C++20)\fP
   constexpr bool is_lteq( std::partial_ordering cmp ) noexcept; \fB(4)\fP \fI(since C++20)\fP
   constexpr bool is_gt( std::partial_ordering cmp ) noexcept;   \fB(5)\fP \fI(since C++20)\fP
   constexpr bool is_gteq( std::partial_ordering cmp ) noexcept; \fB(6)\fP \fI(since C++20)\fP

   These functions take a result of 3-way comparison and convert it to the result of
   one of the six relational operators

   Specifically, these functions return

   1) cmp == 0
   2) cmp != 0
   3) cmp < 0
   4) cmp <= 0
   5) cmp > 0
   6) cmp >= 0

.SH Parameters

   cmp - result of 3-way comparison

.SH Return value

   bool result of the corresponding relational operation

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   partial_ordering the result type of 3-way comparison that supports all 6 operators,
   (C++20)          is not substitutable, and allows incomparable values
                    \fI(class)\fP

.SH Category:
     * Todo no example
